package com.zhukaiyuan.oauth2.sys.service;

import com.zhukaiyuan.oauth2.sys.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author zhukaiyuan
 * @since 2020-06-20
 */
public interface PermissionService extends IService<Permission> {
    List<Permission> getByUserId(Long userId);
}
